<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
    function update(){
        alert("更改成功")
    }
</script>
<body>
<div style="width:800px;height:100%;margin-left:270px;">
    <form action="/course/updateCourse" method="post">
        课程号：<input name="cno" type="number" th:value="${course.cno}" readonly="readonly"><br>
        课程名：<input type="text" th:value="${course.cname}" name="cname"><br>
        教师编号:：<input type="text" th:value="${course.tno}" name="tno"><br>
        <button onclick="update()" type="submit">提交</button>
    </form>
</div>
</body>
</html>